Skip to content

Conversation

miguelg719
Copy link
Collaborator

@miguelg719 miguelg719 commented Aug 17, 2025

why

config.max_steps was overriding the user provided max_steps. This caused the values passed on execute to be disregarded, and the values (or default value) in the agent constructor to be the predominant one.

what changed

Updated the execute function to take the parameter max_steps from its arguments and only fall back to the config if value is None

test plan

@miguelg719 miguelg719 marked this pull request as ready for review August 17, 2025 17:35
@filip-michalsky filip-michalsky self-assigned this Aug 18, 2025
@miguelg719 miguelg719 merged commit 51ca053 into main Aug 18, 2025
13 checks passed
@github-actions github-actions bot mentioned this pull request Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants